package com.yyy.spring6.auto.controller;

import com.yyy.spring6.auto.service.UserService;

/**
 * @Project ：learn_spring
 * @File ：UserController.java
 * @IDE ：IntelliJ IDEA
 * @Author ：自由如风间
 * @Date ：2025/3/30 17:28
 * @Description ：For study.
 */

public class UserController {

    private UserService userService;

    public void setUserService(UserService userService) {
        this.userService = userService;
    }

    public void addUser() {
        System.out.println("controller里面的方法执行了...");
        userService.addUserService();
    }
}
